# 作者：李茁健
# 2025年02月19日11时09分

a=(1,2,3)
b=('a','b','c')

print(list(zip(a,b))) # 组合

ab_dict={v:k for k,v in list(zip(a,b))}
print(ab_dict)

seasons=['spring','summer','fall','winter']

for id,val in enumerate(seasons):
    print(id,val)

my_dict={val:id for id,val in enumerate(seasons)}
print(my_dict)